package com.jxc.model.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 基本参数
 * 
 * @author Tino
 * 
 */
@Entity
@Table(name = "XTPZ_BASIC_ARGUMENT")
public class BasicArgument extends IdEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7735508537412158999L;
	/**
	 * 仓库
	 * 
	 */
	private Repertory repertory;
	/**
	 * 参数名称
	 * 
	 */
	private String argKey;
	/**
	 * 参数值
	 * 
	 */
	private String argValue;
	/**
	 * 备注
	 * 
	 */
	private String remark;

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "REPERTORY_ID")
	public Repertory getRepertory() {
		return repertory;
	}

	public void setRepertory(Repertory repertory) {
		this.repertory = repertory;
	}

	@Column(name = "ARG_KEY")
	public String getArgKey() {
		return argKey;
	}

	public void setArgKey(String argKey) {
		this.argKey = argKey;
	}

	@Column(name = "ARG_VALUE")
	public String getArgValue() {
		return argValue;
	}

	public void setArgValue(String argValue) {
		this.argValue = argValue;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
